<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<link href="images/skin.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>
<link rel="stylesheet" href="../editor/themes/default/default.css" />
	<link rel="stylesheet" href="../editor/plugins/code/prettify.css" />
	<script charset="utf-8" src="../editor/kindeditor.js"></script>
	<script charset="utf-8" src="../editor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="../editor/plugins/code/prettify.js"></script>
	<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('textarea[name="newsText"]', {
				cssPath : '../editor/plugins/code/prettify.css',
				uploadJson : '../editor/jsp/upload_json.jsp',
				fileManagerJson : '../editor/jsp/file_manager_json.jsp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						document.forms['example'].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						document.forms['example'].submit();
					});
				}
			});
			prettyPrint();
		});
</script>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">一中骄傲</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
	<form action="../newsAction!addNew.action" method="post">
		<p>
			<label>骄傲标题:&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:red">提示：推荐按照此格式（姓名：相关主题）例如：张三：励志三年的中科院院士</span></label>
			<label>
			<input name="newsName" size="30" value="" type="text"/>
			</label>
		</p>
		<p>
			<label>信息类型:&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:red">提示：类型最好不要多于4字</span></label>
			<label>
			<input name="newsType" size="30" value="一中骄傲" type="text"/>
			</label>
		</p>
		<input name="newsItem" size="30" value="<%=request.getParameter("newsItem")%>" type="hidden"/>
		<p>
			<label for="editor1">
				个人事迹:</label>
			<textarea cols="80" id="newsText" name="newsText" rows="10" style="width:800px;height:400px;visibility:hidden;"></textarea>
		</p>
		<p>
			<center><input type="submit" value="现  在  发  布"/></center>
		</p>
		
	
    </td>
    <td background="images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>

